package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "alipay")
public class AliPayProperties {

    /**
     * 私钥
     */
    private String privateKey;

    /**
     * 公钥
     */
    private String publicKey;

    /**
     * 支付宝网关地址
     */
    private String serverUrl;

    /**
     * 支付宝应用ID
     */
    private String appId;

    /**
     * 支付宝商户ID
     */
    private String sellerId;

    /**
     * 回调地址
     */
    private String notifyUrl;
}
